import { createContext } from "react";
import { ActionTypes, RootState } from "./types";

export const RootStateContext = createContext<RootState | null>(null);
export const RootDispatchContext =
  createContext<React.Dispatch<ActionTypes> | null>(null);
